Total Complexity | 32 |
Dependencies | 1 |
Dependents | 3 |
Total lines | 410 |
Lines of code | 306 |
Logical lines of code | 56 |
Comment lines | 66 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_capabilities() | 35 | 1 | 126 | |
get_user_role() | 56 | 7 | 18 | |
get_canonical_role_from_role_and_user() | 55 | 6 | 18 | |
get_unique_capabilities() | 40 | 1 | 75 | |
is_canonical_role_at_least() | 56 | 4 | 18 | |
get_role_from_caps() | 60 | 4 | 13 | |
get_users_with_canonical_role() | 60 | 4 | 13 | |
is_user_at_least() | 55 | 3 | 19 | |
get_canonical_role_from_role() | 70 | 2 | 6 |